package com.hzhk.happyrent.bean.order;

/**
 * Created by soft_zzc on 2018/1/27.
 */

public class OrderBuyPayModel {

    /**
     * errCode : 0
     * message : success
     * data : {"buy_info":{"order_id":"492","user_id":"10369","order_sn":"2018012321234665168630","pay_money":7867.98,"price_paid":0.02,"day":3}}
     * time : 1517024238
     */

    private int errCode;
    private String message;
    private DataBean data;
    private int time;

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        /**
         * buy_info : {"order_id":"492","user_id":"10369","order_sn":"2018012321234665168630","pay_money":7867.98,"price_paid":0.02,"day":3}
         */

        private BuyInfoBean buy_info;

        public BuyInfoBean getBuy_info() {
            return buy_info;
        }

        public void setBuy_info(BuyInfoBean buy_info) {
            this.buy_info = buy_info;
        }

        public static class BuyInfoBean {
            /**
             * order_id : 492
             * user_id : 10369
             * order_sn : 2018012321234665168630
             * pay_money : 7867.98
             * price_paid : 0.02
             * day : 3
             */

            private String order_id;
            private String user_id;
            private String order_sn;
            private double pay_money;
            private double price_paid;
            private int day;

            public String getOrder_id() {
                return order_id;
            }

            public void setOrder_id(String order_id) {
                this.order_id = order_id;
            }

            public String getUser_id() {
                return user_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public String getOrder_sn() {
                return order_sn;
            }

            public void setOrder_sn(String order_sn) {
                this.order_sn = order_sn;
            }

            public double getPay_money() {
                return pay_money;
            }

            public void setPay_money(double pay_money) {
                this.pay_money = pay_money;
            }

            public double getPrice_paid() {
                return price_paid;
            }

            public void setPrice_paid(double price_paid) {
                this.price_paid = price_paid;
            }

            public int getDay() {
                return day;
            }

            public void setDay(int day) {
                this.day = day;
            }
        }
    }
}
